<template>
  <Openai @click="skipAI" />
</template>

<script setup lang="ts">
import { useRoute, useRouter } from 'vue-router';
import Openai from '../icon/Openai.vue';
import { type IProps } from '../aIcontrol/props';

const route = useRoute()
const router = useRouter()

const skipAI = () => {
  document.title = 'Ai 页面'
  router.push({ name: 'ai', replace: false, query: route.query })
}

</script>
